
REPLICATION FILES FOR:  
	
	Do Minorities Feel Welcome in Politics? A Cross-Cultural Study of the United States and Sweden
	Nazita Lajevardi, Moa Mårtensson and Kåre Vernby
	Forthcoming in British Journal of Political Science


	Please contact Kåre Vernby if you have any problems 
	or questions with these replication files: kare.vernby@statsvet.su.se


	January 9, 2024
	
INSTRUCTIONS
============

This article employs three distinct surveys: one that was fielded in the U.S. in 2021 and two that were conducted in Sweden in 2017 and 2021.

The U.S. data comes from the 2020 Comparative Multiracial Post-Election Survey (CMPS). Access to this survey can be gained through ICPSR (https://www.icpsr.umich.edu/).

The Swedish data from 2021 was collected by the SOM Institute. Access to this survey can be gained through the Swedish National Data Service (https://snd.gu.se/en).

The Swedish data from 2017 was collected by Statistics Sweden for Rafaela Dancygier, Karl-Oskar Lindgren, Pär Nyman and Kåre Vernby. Since these analyses draw on data from government registers, it is not publicly available (This is regulated in the Swedish Public Access to Information and Secrecy Act). To ensure transparency, we welcome qualified researchers to visit the author team in Sweden, where the results found in the paper can be replicated without violating Swedish government regulations

This replication archive contains the following:

README.txt - this file

data_analysis.do - a Stata do-file that contains code that prepares the data for analysis, and then generates all tables (.tex) and figures (eps) contained in the article and its appendix. 

All tables and figures generated by data_analysis.do and a log file from the Stata session during which they were produced

Before running the do-file, enter the path to where you have stored the replication archive at the indicated place at the beginning of the file. The analysis was run using the following folder structure: 

FOLDER AND FILE DESCRIPTION
===========================

├── Data
│             ├── scb2017.dta (confidential, not included)
│             ├── som2021.dta (restricted, available from https://snd.gu.se/en)
│             └── cmps2021.dta (restricted, available from https://www.icpsr.umich.edu/)
├── Output
│             ├── fig1swe2017.eps
│             ├── fig1swe2021.eps
│             ├── fig1us2021.eps
│             ├── fig2swe2017.eps
│             ├── fig2swe2021.eps
│             ├── fig2us2021.eps
│             ├── figA1swe2017.eps
│             ├── figA1swe2021.eps
│             ├── figA1us2021.eps
│             ├── figA2swe2017.eps
│             ├── figA2swe2021.eps
│             ├── figA2us2021.eps
│             ├── log.smcl
│             ├── tabA1.tex
│             ├── tabA2.tex
│             ├── tabA3.tex
│             ├── tabA4.tex
│             ├── tabA5.tex
│             ├── tabA6.tex
│             ├── tabA7.tex
│             ├── tabA8.tex
│             ├── tabA9.tex
│             ├── tabA10.tex
│             ├── tabA11.tex
│             ├── tabA12.tex
│             ├── tabA13.tex
│
├── README.txt
└── data_analysis.do







